<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    String path = request.getContextPath();
%>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>登陆界面</title>
<link href="<%=path%>/css/login.css" rel="stylesheet" type="text/css" />
</head>

<body>
<div class="login_box">
      <div class="login_l_img"><img src="<%=path%>/images/login-img.png" /></div>
      <div class="login">
          <div class="login_logo"><a href="#"><img src="<%=path%>/images/login_logo.png" /></a></div>
          <div class="login_name">
               <p>后台管理系统</p>
          </div>
          <form  id="from1" method="post" action="<%=path%>/login">
              <p style="color:red;size: A3">${result}</p>
              <input type="text" placeholder="账号" name="username"  id="username1" required/>
              <input type="password" placeholder="密码" name="password"  id="password1" required/>
     <input  style="margin-top: 10px; margin-bottom: 30px;" type="radio" name="role" checked   value="1" id="student1" >学生
     <input  style="margin-top: 10px; margin-bottom: 30px;" type="radio" name="role"   value="2" id="teacher1">教师
     <input  style="margin-top: 10px; margin-bottom: 30px;"type="radio" name="role"   value="3" id="admin1">管理员
			  <input value="登录" style="width:100%;" type="submit">
          </form>
      </div>
      <div class="copyright"></div>
</div>
<div style="text-align:center;">
 
</div>
</body>
</html>
<script type="text/javascript" src="<%=path%>/js/jquery-3.6.0.js">

</script>
